import React, { Component } from 'react';
import styles from '../index.less'
import StyledButton from './StyledButton'
class ShowValue extends Component {
    showValue = (props) => {

        console.log('选中了' + props.value)
    }
    handleClick = () => {
        const props = this.props
        setTimeout(this.showValue.bind(this, props), 3000);
    }
    render() {
        return (
            <StyledButton title='class点击' onClick={this.handleClick}>follw</StyledButton>


        );
    }
}

export default ShowValue;